/* 背景样式 */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-image: url('../assets/icons/background01.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

/* 容器样式 */
.container {
    max-width: 800px;
    margin: 100px auto;
    /* background-color: rgba(0, 0, 0, 0.7); */
    background-color: rgb(76, 141, 174);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* 标题和匹配神兽样式 */
h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.highlight {
    font-size: 3em;
    font-weight: bold;
    margin: 20px 0;
    color: rgb(255, 242, 223)
}

/* 动态文案样式 */
.hidden {
    display: none;
}

#description {
    margin: 20px 0;
    font-size: 1.2em;
    text-align: left;
    animation: fadeIn 1s ease-in-out;
}

button {
    padding: 12px 20px;
    background-color:rgb(6, 82, 121); 
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    margin-top: 20px;
}

button:hover {
    background-color: rgb(161, 175, 201);
}

/* 视频全屏样式 */
video.hidden {
    display: none;
}
video {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 10px;
}


/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 媒体查询：适配手机屏幕 */
@media (max-width: 768px) {
    body, html {
        background-size: cover;
    }

    .container {
        width: 90%;
        margin: 50px auto;
        padding: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    h1 {
        font-size: 2em;
    }

    .highlight {
        font-size: 2.5em;
    }

    #description {
        font-size: 1em;
    }

    button {
        font-size: 1em;
        padding: 10px 15px;
    }

    video {
        max-width: 100%;
    }
}

/* 按钮样式 */
.feedback-btn {
    position: fixed;
    bottom: 20px;
    right: 8px;
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    transition: all 0.3s ease;
}

.feedback-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 弹窗背景 */
.feedback-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1000;
}

/* 弹窗内容样式 */
.feedback-content {
    text-align: center;
    padding: 0 20px;
}

.feedback-content h2 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}

.feedback-content textarea {
    width: 100%;
    /* padding: 10px; */
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    resize: none;
}

/* 按钮组样式 */
.feedback-actions {
    display: flex;
    justify-content: space-between;
}

.submit-btn, .cancel-btn {
    flex: 1;
    margin: 0 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.submit-btn {
    background-color: #28a745;
    color: white;
}

.submit-btn:hover {
    background-color: #218838;
}

.cancel-btn {
    background-color: #0056b3;;
    color: white;
}

.cancel-btn:hover {
    background-color: #0056b3;;
}

/* 隐藏弹窗 */
.hidden {
    display: none;
}

/* 定位退出按钮 */
.header {
    position: absolute;
    top: 10px;
    right: 10px;
}

.logout-btn {
    padding: 10px 20px;
    background-color: #0056b3;;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.logout-btn:hover {
    background-color: #0056b3;;
}
